/**
 * @Author: Your name
 * @Date:   2024-03-08 11:07:57
 * @Last Modified by:   Your name
 * @Last Modified time: 2024-03-08 11:22:05
 */
// user.module.ts
import { Module } from '@nestjs/common';
import { MongooseModule } from '@nestjs/mongoose';
import { UserController } from './user.controller';
import { userSchema } from './user.schema';
import { UserService } from './user.service';

@Module({
    imports: [MongooseModule.forFeature([{ name: 'Users', schema: userSchema }])],
    controllers: [UserController],
    providers: [UserService]
})
export class UserModule { }